/* 
 * File:   Registration.h
 * Author: Allison
 *
 * Created on September 30, 2013, 7:32 PM
 */

#ifndef REGISTRATION_H
#define	REGISTRATION_H

#include <iostream>
#include <string>
#include <vector>
#include "Student.h"
#include "Course.h"
using namespace std;

class Registration {
public:
    Registration();
    virtual ~Registration();
    
    int studentExists(string id);
    bool addStudent(string fName, string lName, string id, bool res, double r, double fee);
    bool removeStudent(string id);
    string listStudents();
    void sortStudents();
    int courseExists(string courseName, string days, string time);
    bool addCourse(string courseName, int semHours, string days, string time);
    bool removeCourse(string courseName, string days, string time);
    string listCourses();
    void sortCourses();
    
    bool enrollCourse(string id, string courseName, string days, string time);
    bool cancelCourse(string id, string courseName, string days, string time);
    
    void closeRegistration();
    
private:
    vector<Student> studentList;
    vector<Course> courseList;

};

#endif	/* REGISTRATION_H */
